<!doctype html>
<html lang="zh-cn">
<head>
    <meta charset="UTF-8">
    <title>mobileSelect Demo</title>
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="wap-font-scale" content="no">
    <meta name="viewport" content="width=device-width, minimum-scale=1, maximum-scale=1,user-scalable=no">
    <meta name="keywords" content="">  
    <meta name="description" content="">

    <link rel="stylesheet" type="text/css" href="/demo/public.css">

    <link rel="stylesheet" type="text/css" href="/demo/mobileSelect.css">
    <script src="/demo/mobileSelect.js" type="text/javascript"></script>

</head>
<body>

<div class="contain">
    <div class="fixWidth">
        <div class="nav">
            <h1>mobileSelect Demo</h1>
        </div>
        <div class="demo">
            <div id="trigger1">单项选择</div>
        </div>
    </div>

</div>



<script type="text/javascript">

var weekdayArr=['周日','周一','周二','周三','周四','周五','周六'];

//只有trigger 和 wheels 是必要参数  其他都是选填参数
var mobileSelect1 = new MobileSelect({
    trigger: '#trigger1', 
    title: '单项选择',  
    wheels: [
                {data: weekdayArr}
            ],
    position:[2] //初始化定位 打开时默认选中的哪个  如果不填默认为0
});

</script>




</body>
</html>